<template>
  <div id="app">
    <el-menu  :default-active="activeIndex" class="el-menu-demo" router mode="horizontal">
      <el-menu-item index="/login">ff</el-menu-item>
      <el-menu-item index="/">首页</el-menu-item>
    </el-menu>
    <router-view></router-view>
  </div>
</template>

<script>
import router from './router/index'
export default {
  name: 'app',
  data () {
    return {
      activeIndex: '/'
    }
  }
}
</script>
